Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add install-scylladb.sh to travis #1422

Merged
merged 4 commits into from
Apr 28, 2021
Merged

add install-scylladb.sh to travis #1422

merged 4 commits into from
Apr 28, 2021

Conversation

javeme
Copy link
Contributor

@javeme javeme commented Apr 17, 2021

@javeme javeme force-pushed the travis-add-scylladb branch 6 times, most recently from 8233900 to d7f1109 Compare April 18, 2021 15:27
@javeme
Copy link
Contributor Author

javeme commented Apr 18, 2021

failed to start scylla-server:

sudo systemctl start scylla-server || (sudo systemctl status scylla-server.service && exit 1)
Job for scylla-server.service failed because the control process exited with error code. See "systemctl status scylla-server.service" and "journalctl -xe" for details.
● scylla-server.service - Scylla Server
   Loaded: loaded (/lib/systemd/system/scylla-server.service; disabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/scylla-server.service.d
           └─capabilities.conf, dependencies.conf, sysconfdir.conf
   Active: failed (Result: exit-code) since Sun 2021-04-18 15:31:55 UTC; 14ms ago
  Process: 6264 ExecStopPost=/opt/scylladb/scripts/scylla_stop (code=exited, status=0/SUCCESS)
  Process: 6250 ExecStart=/usr/bin/scylla $SCYLLA_ARGS $SEASTAR_IO $DEV_MODE $CPUSET $MEM_CONF (code=exited, status=1/FAILURE)
  Process: 6228 ExecStartPre=/opt/scylladb/scripts/scylla_prepare (code=exited, status=0/SUCCESS)
 Main PID: 6250 (code=exited, status=1/FAILURE)
   Status: "starting per-shard database core"

Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 scylla[6250]:  [shard 0] init - Shutting down migration manager notifier
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 scylla[6250]:  [shard 0] init - Shutting down migration manager notifier was successful
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 scylla[6250]:  [shard 0] init - Shutting down prometheus API server
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 scylla[6250]:  [shard 0] init - Shutting down prometheus API server was successful
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 scylla[6250]:  [shard 0] init - Shutting down sighup
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 scylla[6250]:  [shard 0] init - Shutting down sighup was successful
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 systemd[1]: scylla-server.service: Main process exited, code=exited, status=1/FAILURE
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 systemd[1]: Failed to start Scylla Server.
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 systemd[1]: scylla-server.service: Unit entered failed state.
Apr 18 15:31:55 travis-job-f71b66e8-31e4-4d26-b977-548defed4924 systemd[1]: scylla-server.service: Failed with result 'exit-code'.
The command "$TRAVIS_DIR/install-backend.sh" failed and exited with 3 during .
Your build has been stopped.

this issue is fixed after setting developer-mode.

@javeme javeme force-pushed the travis-add-scylladb branch from d7f1109 to 6f9aa3e Compare April 18, 2021 15:54
@javeme
Copy link
Contributor Author

javeme commented Apr 18, 2021

@javeme javeme force-pushed the travis-add-scylladb branch 5 times, most recently from 3aad453 to ed0f14f Compare April 19, 2021 03:50
@javeme
Copy link
Contributor Author

javeme commented Apr 19, 2021

1874 times NPE:

java.lang.IllegalArgumentException: Undefined edge label: 'label-not-exists'
java.lang.IllegalArgumentException: The sort key(s) must be setted for the edge with label: 'look'
// the second time "Init server info":
2021-04-19 03:57:44 261293 [main] [INFO ] com.baidu.hugegraph.HugeGraph [] - Init server info for graph 'hugegraph'...
java.lang.IllegalArgumentException: CONTAINS query with relation 'within' is not supported
2021-04-19 03:57:44 261480 [task-worker-2] [ERROR] com.baidu.hugegraph.task.ServerInfoManager [] - Exception occurred when decrease server load
java.lang.NullPointerException: null
	at com.baidu.hugegraph.task.ServerInfoManager.decreaseLoad(ServerInfoManager.java:197) [classes/:?]
	at com.baidu.hugegraph.task.StandardTaskScheduler.taskDone(StandardTaskScheduler.java:447) [classes/:?]
	at com.baidu.hugegraph.task.HugeTask.done(HugeTask.java:350) [classes/:?]
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384) [?:1.8.0_252]
	at java.util.concurrent.FutureTask.set(FutureTask.java:233) [?:1.8.0_252]
	at com.baidu.hugegraph.task.HugeTask.set(HugeTask.java:362) [classes/:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:274) [?:1.8.0_252]
	at com.baidu.hugegraph.task.HugeTask.run(HugeTask.java:287) [classes/:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_252]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_252]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_252]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_252]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
2021-04-19 03:57:44 261513 [task-worker-4] [ERROR] com.baidu.hugegraph.task.ServerInfoManager [] - Exception occurred when decrease server load
java.lang.NullPointerException: null
...
2021-04-19 04:01:23 480783 [task-worker-1] [ERROR] com.baidu.hugegraph.task.ServerInfoManager [] - Exception occurred when decrease server load
java.lang.NullPointerException: null
	at com.baidu.hugegraph.task.ServerInfoManager.decreaseLoad(ServerInfoManager.java:197) [classes/:?]
	at com.baidu.hugegraph.task.StandardTaskScheduler.taskDone(StandardTaskScheduler.java:447) [classes/:?]
	at com.baidu.hugegraph.task.HugeTask.done(HugeTask.java:350) [classes/:?]
	at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:384) [?:1.8.0_252]
	at java.util.concurrent.FutureTask.set(FutureTask.java:233) [?:1.8.0_252]
	at com.baidu.hugegraph.task.HugeTask.set(HugeTask.java:362) [classes/:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:274) [?:1.8.0_252]
	at com.baidu.hugegraph.task.HugeTask.run(HugeTask.java:287) [classes/:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_252]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_252]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_252]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_252]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
[ERROR] Tests run: 688, Failures: 0, Errors: 11, Skipped: 26, Time elapsed: 697.564 s <<< FAILURE! - in com.baidu.hugegraph.core.CoreTestSuite
[ERROR] testRemoveEdgesOfSuperVertex(com.baidu.hugegraph.core.EdgeCoreTest)  Time elapsed: 7.665 s  <<< ERROR!
java.lang.IllegalArgumentException: Already existed master 'server1' in current cluster
	at com.baidu.hugegraph.core.EdgeCoreTest.testRemoveEdgesOfSuperVertex(EdgeCoreTest.java:5511)
[ERROR] testGremlinJobAndCancel(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 4.177 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testGremlinJobAndRestore(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.183 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testGremlinJobWithScript(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.186 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testTask(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.184 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testGremlinJobWithError(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.184 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testTaskWithFailure(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.183 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testEphemeralJob(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.188 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testGremlinJobWithSerializedResults(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.206 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testGremlinJobWithFailure(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.182 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
[ERROR] testGremlinJob(com.baidu.hugegraph.core.TaskCoreTest)  Time elapsed: 0.181 s  <<< ERROR!
com.baidu.hugegraph.exception.NotFoundException: Can't find task with id '1875'
	at com.baidu.hugegraph.core.TaskCoreTest.setup(TaskCoreTest.java:61)
2021-04-19 04:05:01 698744 [hugegraph-shutdown] [INFO ] com.baidu.hugegraph.HugeGraph [] - HugeGraph is shutting down
2021-04-19 04:05:01 698749 [hugegraph-shutdown] [ERROR] com.baidu.hugegraph.HugeGraph [] - Error while shutdown
java.lang.AssertionError: 2
	at com.baidu.hugegraph.task.TaskManager.shutdown(TaskManager.java:180) ~[classes/:?]
	at com.baidu.hugegraph.HugeFactory.shutdown(HugeFactory.java:140) ~[classes/:?]
	at com.baidu.hugegraph.HugeFactory.lambda$static$0(HugeFactory.java:52) ~[classes/:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]
Exception in thread "hugegraph-shutdown" com.baidu.hugegraph.HugeException: Failed to shutdown
	at com.baidu.hugegraph.HugeFactory.shutdown(HugeFactory.java:144)
	at com.baidu.hugegraph.HugeFactory.lambda$static$0(HugeFactory.java:52)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.AssertionError: 2
	at com.baidu.hugegraph.task.TaskManager.shutdown(TaskManager.java:180)
	at com.baidu.hugegraph.HugeFactory.shutdown(HugeFactory.java:140)
	... 2 more
[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR]   EdgeCoreTest.testRemoveEdgesOfSuperVertex:5511 » IllegalArgument Already exist...
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[ERROR]   TaskCoreTest.setup:61 » NotFound Can't find task with id '1875'
[INFO] 
[ERROR] Tests run: 688, Failures: 0, Errors: 11, Skipped: 26

@codecov
Copy link

codecov bot commented Apr 20, 2021

Codecov Report

Merging #1422 (4707171) into master (706ffe5) will increase coverage by 0.03%.
The diff coverage is 71.42%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1422      +/-   ##
============================================
+ Coverage     62.21%   62.25%   +0.03%     
- Complexity     5857     5861       +4     
============================================
  Files           381      381              
  Lines         32135    32139       +4     
  Branches       4504     4504              
============================================
+ Hits          19994    20009      +15     
+ Misses        10089    10076      -13     
- Partials       2052     2054       +2     
Impacted Files Coverage Δ Complexity Δ
...om/baidu/hugegraph/task/StandardTaskScheduler.java 75.60% <57.14%> (-0.50%) 85.00 <0.00> (ø)
...va/com/baidu/hugegraph/task/ServerInfoManager.java 71.34% <83.33%> (+0.56%) 52.00 <2.00> (+1.00)
...in/java/com/baidu/hugegraph/StandardHugeGraph.java 68.83% <100.00%> (ø) 119.00 <1.00> (ø)
...c/main/java/com/baidu/hugegraph/task/HugeTask.java 69.84% <0.00%> (+0.30%) 82.00% <0.00%> (+1.00%)
...a/com/baidu/hugegraph/backend/query/Condition.java 78.46% <0.00%> (+0.36%) 32.00% <0.00%> (ø%)
...egraph/backend/store/cassandra/CassandraShard.java 52.77% <0.00%> (+1.85%) 11.00% <0.00%> (ø%)
.../java/com/baidu/hugegraph/task/HugeServerInfo.java 73.91% <0.00%> (+6.52%) 20.00% <0.00%> (+2.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 706ffe5...4707171. Read the comment docs.

@javeme javeme force-pushed the travis-add-scylladb branch from a139a84 to baf1c84 Compare April 20, 2021 17:18
javeme added 4 commits April 26, 2021 15:53
Change-Id: Ic15c193c460d79ea0520bc285a3fc42d23870cec
Change-Id: I364d6409418c2c1a582e6c2a2b47d81184efe674
Change-Id: I70ef59c592b6af33062a00d74005d0a8c1fb56e4
Change-Id: Ida99827b1532a00b0167da8858be1bffbb22a9cd
@javeme javeme force-pushed the travis-add-scylladb branch from baf1c84 to 4707171 Compare April 26, 2021 07:53
@imbajin imbajin requested review from imbajin and removed request for imbajin April 27, 2021 11:34
@javeme javeme merged commit f49bb9d into master Apr 28, 2021
@javeme javeme deleted the travis-add-scylladb branch April 28, 2021 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants